package com.hiking.jwt.repository;

import com.hiking.jwt.domain.UserBean;
import org.springframework.data.jpa.repository.JpaRepository;


public interface UserRepository extends JpaRepository<UserBean, Integer> {

    UserBean findByUsernameAndPassword(String username, String password);

    UserBean findByUsername(String username);

    UserBean findByToken(String token);
}
